package com.zty.xiaomi.server.Service.User;

import com.zty.xiaomi.server.Entity.User;

import java.io.IOException;

public interface UserService {

    User getUserInfoByName(String name);

    User getUserInfoById(String userid) throws IOException;

    int updateUserVoteStatus(String user_name, int tribunal_id) throws IOException;

    int updateUserVoteStatusByTribunalId(int tribunal_id) throws IOException;
}
